package lk.icta.core.dao;

import lk.icta.core.entity.BoundaryType;
import lk.icta.user.entity.User;

import java.util.Map;

/**
 * @author Duminda Dharmakeerthi
 */
public interface BoundaryTypeDAO {

    /**
     * Get the boundary type by id
     *
     * @param id   Id of the boundary type
     * @param user User requesting to get the boundary type
     * @return Boundary type related to given id
     */
    public BoundaryType getBoundaryTypeById(int id, User user);

    /**
     * List all the Boundary types in given language
     *
     * @param language
     * @param user
     * @return
     */
    public Map<Integer, String> getAllBoundaryTypesByUserLanguage(String language, User user);
}
